cmake_minimum_required(VERSION 3.5.0)
project(imgui)

set(CMAKE_CXX_STANDARD 17)

add_subdirectory(imgui)

target_include_directories(imgui PUBLIC ../ogl)
target_include_directories(imgui PUBLIC ./)
target_include_directories(imgui-gut PUBLIC ./)
target_include_directories(imgui-gut PUBLIC ../ogl)

# if(UNIX)
# set(DEP_PATH /usr/local)
# endif()

# set(CMAKE_INSTALL_INCLUDEDIR ${DEP_PATH})
# set(CMAKE_INSTALL_LIBDIR ${DEP_PATH}/lib)

# install(TARGETS imgui-gut
#         ARCHIVE DESTINATION ${CMAKE_INSTALL_LIBDIR}
# )

# install(TARGETS imgui-font
#         ARCHIVE DESTINATION ${CMAKE_INSTALL_LIBDIR}
# )


# install(TARGETS imgui-math
#         ARCHIVE DESTINATION ${CMAKE_INSTALL_LIBDIR}
# )


# install(TARGETS imgui-model
#         ARCHIVE DESTINATION ${CMAKE_INSTALL_LIBDIR}
# )


# install(TARGETS imgui-phong
#         ARCHIVE DESTINATION ${CMAKE_INSTALL_LIBDIR}
# )


# install(TARGETS imgui-skybox
#         ARCHIVE DESTINATION ${CMAKE_INSTALL_LIBDIR}
# )



# install(DIRECTORY imgui
#         DESTINATION ${CMAKE_INSTALL_INCLUDEDIR})

